import request from '@/utils/libs/request'

/**
 * 获取存储设置
 * @param params
 */
export function getStorageSetting(params: Record<string, any>) {
    return request.get('sys_setting/get_storage', { params })
}

/**
 * 保存存储设置
 * @param params
 */
export function saveStorageSetting(params: Record<string, any>) {
    return request.post('sys_setting/save_storage', params)
}